home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
lib.fmt
/
misc
/
sosp.man
< prev
next >
Wrap
Text File
|
1991-11-18
|
2KB
|
69 lines
sosp C Library Procedures sosp
_________________________________________________________________
NNAAMMEE
initRead, getHeader, getNextRecord, getNextRecordMerge,
migrateChildren - Routines to extract trace events from the
sosp file system traces.
SSYYNNOOPPSSIISS
It's probably not worth it to use the library routines
directly. Instead, make use of the example template that
calls them correctly.
##iinncclluuddee <<ssoosspp..hh>>
int
iinniittRReeaadd(_n_a_m_e, _a_r_g_c, _a_r_g_v)
int
ggeettHHeeaaddeerr(_f_i_l_e, _h_d_r)
int
ggeettNNeexxttRReeccoorrdd(_f_i_l_e, _b_u_f)
Boolean
mmiiggrraatteeCChhiillddrreenn(_f_l_a_g_s)
int
ggeettNNeexxttRReeccoorrddMMeerrggee(_b_u_f)
AARRGGUUMMEENNTTSS
char *_n_a_m_e (in) Like argv[0] - the name of the pro-
cess.
int _a_r_g_c (in) Number of elements in _a_r_g_v.
char **_a_r_g_v (in/out) The arguments to the tracer -
including startTime and endTime,
files to ignore events for in the
traces and the list of trace file
names.
_________________________________________________________________
DDEESSCCRRIIPPTTIIOONN
The interface to this library is arcane. Look instead at
the template program that calls it. This program includes
comments for where you need to fill in your code.
KKEEYYWWOORRDDSS
traces, sosp, postprocessor
Sprite v.1.0 Printed: November 18, 1991 1